﻿using System;

namespace Fee.ViewModel
{
    public class ProjectSimpleViewModel
    {
        public ProjectSimpleViewModel()
        {
        }

        public ProjectSimpleViewModel(Project project)
        {
            if (project == null) throw new ArgumentNullException(nameof(project));
            Id = project.Id;
            Name = project.Name;
            No = project.No;
        }

        public string Name { get; set; }
        public int Id { get; set; }
        public string No { get; set; }
    }
}